﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Manager.aspx.cs" Inherits="admin_Manager" StylesheetTheme="admin" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
    <div align="center">
        商品管理<br />
        <hr />
    
    </div>
        <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
            BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px"
            CellPadding="3" DataSourceID="SqlDataSource1" Height="136px"
            Width="789px">
            <FooterStyle BackColor="White" ForeColor="#000066" />
            <Columns>
                <asp:BoundField DataField="ProId" HeaderText="编号" InsertVisible="False" ReadOnly="True"
                    SortExpression="ProId" />
                <asp:BoundField DataField="ProName" HeaderText="名称" SortExpression="ProName" />
                <asp:BoundField DataField="Content" HeaderText="说明" HtmlEncode="False" SortExpression="Content" />
                <asp:BoundField DataField="IsHot" HeaderText="是否热卖" SortExpression="IsHot" />
                <asp:BoundField DataField="IsSale" HeaderText="是否特价" SortExpression="IsSale" />
                <asp:BoundField DataField="IsFaience" HeaderText="是否推荐" SortExpression="IsFaience" />
                <asp:BoundField DataField="MemberPrice" HeaderText="会员价" SortExpression="MemberPrice" />
                <asp:BoundField DataField="MarketPrice" HeaderText="市场价" SortExpression="MarketPrice" />
                <asp:BoundField DataField="ProDate" HeaderText="发布时间" SortExpression="ProDate" />
                <asp:BoundField DataField="cat" HeaderText="所属分类" SortExpression="cat" />
                <asp:BoundField DataField="ProNum" HeaderText="发布数量" SortExpression="ProNum" />
                <asp:HyperLinkField DataNavigateUrlFields="ProId" DataNavigateUrlFormatString="Modify.aspx?pid={0}"
                    Text="修改" />
            </Columns>
            <RowStyle ForeColor="#000066" />
            <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
            <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
        </asp:GridView>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
            SelectCommand="SELECT [ProId], [ProName], [Content], [IsHot], [IsSale], [IsFaience], [MemberPrice], [MarketPrice], [ProDate], [ProNum], [cat] FROM [PDetail]">
        </asp:SqlDataSource>
    </form>
</body>
</html>
